GateScript: A Scripting Language for Generic Active Gateways
نویسندگان
چکیده
In this paper, we present GateScript, a scripting language for active applications to be executed on generic active gateways. Unlike other active networking platforms, it offers a simple scripting language for expressing custom processing of packets at different protocol layers without the need for interpretation of complex protocol data structures. In this way, the user writes statements in a script-like language while using protocol-specific variables and predefined function calls acting on the packet’s content. From a textual description, we automatically create a packet parser and reassembler for a given protocol. The parser decomposes PDUs arriving in an active application into protocol variables that can be used in the script language. After processing, outcoming packets are reconstructed from the protocol variables. GateScript also enables active applications to react to the state of the environment: they can receive events from monitors and test variables reflecting the state of the environment. We have designed an architecture for a generic active gateway (GAG) that supports GateScript. An active application can dynamically install/remove a packet filter that intercepts relevant packets and passes them to the application. We have implemented GAG on Linux: its packet forwarding part is implemented in the kernel and all other components as user space processes.
منابع مشابه
Gaia: A Development Infrastructure for Active Spaces
In this paper, we present an overview of our research project with Gaia, a development infrastructure for ubiquitous applications. This infrastructure is based on three main elements: a component-based middleware operating system that provides a generic computational environment for ubiquitous computing, an application model that defines a standard mechanism to build ubiquitous applications, an...
متن کاملGeneric tools : a new way to use
This paper rst presents Corba and our Generic Object-Oriented Dynamic Environment, second it discusses the interests of a generic environment and introduces our scripting language CorbaScript, and nally presents CorbaWeb as an integration tool between the WWW and Corba worlds.
متن کاملPractical Experience with Spatio-temporal Gis in Geophysical Research
Busstop, a spatio-temporal GIS prototype for geophysical studies, is presented. It includes a metadata representation system, a visualisation subsystem, and a spatio-temporal extension of a classical map algebra. It also takes an active approach to integration with existing non-GIS data handling and analysis programs. Busstop has been used for minor geophysical case studies with some success, b...
متن کاملA Binary Data Stream Scripting Language
Any file is fundamentally a binary data stream. A practical solution was achieved to interpret binary data stream. A new scripting language named Data Format Scripting Language (DFSL) was developed to describe the physical layout of the data in a structural, more intelligible way. On the basis of the solution, a generic software application was implemented; it parses various binary data streams...
متن کاملThe Design of Monty: a Programming/Scripting Language
This paper describes the design of Monty, a language intended to be equally suitable for both scripting and conventional programming. Monty features an unusually flexible type system in which all values are viewed as objects in a single-inheritance class hierarchy, static and dynamic typing are smoothly integrated, and both nonvariant and covariant generic classes are supported. An interesting ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004